package com.atguigu.java4;

public class TriAngleTest {
		public static void main(String[] args) {
				TriAngle b1 = new TriAngle();
				b1.setBase(2.0);
				b1.setHeight(2.4);
				System.out.println("base:" + b1.getBase() +", height:" + b1.getHeight());
				
				
				TriAngle b2 = new TriAngle(2.3,2.3);
				System.out.println("base:" + b2.getBase() +", height:" + b2.getHeight());
		}
}
